$OpenBSD: patch-interface_ouimessage_c,v 1.2 2017/05/06 12:51:21 espie Exp $
Index: interface/ouimessage.c
--- interface/ouimessage.c.orig
+++ interface/ouimessage.c
@@ -1,6 +1,8 @@
 /*
  *	MESSAGE OUTPUT TO APPLICATION USER INTERFACE
  */
+#include <string.h>
+#include <stdio.h>
 char *Onew_RK_smode();
 char *romkan_help();
 
@@ -16,6 +18,7 @@ extern int ONEW_modedepth;
 static int ONEW_msg_overw;
 static int ONEW_msg_retain;
 
+void
 Onew_putmode(mode,help)
 	char *mode,*help;
 {	int modeflags,xmodef;
